﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp1
{
    class Class1
    {

        private String name1;
        private String name2;
        private String name3;
        private String name4;
        private String teacher;
        private String teacher2;

        public string Name1 { get { return this.name1; } set { this.name1 = value; } }
        public string Name2 { get { return this.name2; } set { this.name2 = value; } }
        public string Name3 { get { return this.name3; } set { this.name3 = value; } }
        public string Name4 { get { return this.name4; } set { this.name4 = value; } }
        public string Teacher { get { return this.teacher; } set { this.teacher = value; } }
        public string Teacher2 { get { return this.teacher2; } set { this.teacher2 = value; } }
        public void Student()
        {
            this.name1 = "孙悟空";
            this.name2 = "猪八戒";
            this.name3 = "沙和尚";
            this.name4 = "白龙马";

            this.teacher = "唐僧";
            this.teacher2 = "嫦娥";
            
        }

    }
}
